﻿using DataAccess.DAO;
using FluentNHibernate.Mapping;

namespace DataAccess.Mappings
{
    public class SocialNetworkMap : ClassMap<SocialNetworkDAO>
    {
        public SocialNetworkMap()
        {
            Table("SocialNetworks");
            Id(x => x.SocialNetworkId);
            Map(x => x.SocialNetworkName);
            Map(x => x.SocialNetworkAddress);
        }
    }
}
